package com.wubo.sec.log;

import com.wubo.sec.config.ConfigContext;
import com.wubo.sec.config.ConfigContextFactory;

public class LogState {
	private static ConfigContext configContext;
	public static final String LOG_PATH = "config.ini";
	
	static{
		configContext = ConfigContextFactory.createConfigContext(LOG_PATH);
	}
	
	public static boolean isLogCode(){
		return  configContext.getValue("logCode", boolean.class);
	}
}
